let http = require('http');
http.createServer(function(req,res){
   console.log(req.headers);
   // /api/users /api/xxx
   if(req.url.startsWith('/api')){
	res.end('118.190.142.109 '+req.url);
  }else
   res.end('404');
}).listen(3000,function(){
    console.log('已经成功监听3000端口');
});